package com.tfjybj.itoo.teach.model;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.ToString;
import lombok.experimental.Accessors;

import javax.persistence.Column;
import java.io.Serializable;
import java.util.List;

/**
 * TeacherCourseModel
 * 教师授课表
 *
 * @author 田成荣
 * @version 2.0.0
 * @since 2.0.0 2018-11-15 20:45:09
 */
@ApiModel(value = "TeacherCourseModel:教师授课表")
@Data
@NoArgsConstructor
@Accessors(chain = true)
@ToString(callSuper = true)
public class TeacherCourseModel implements Serializable {

	//region 模板逆向生产来自TeacherCourseEntity的属性
	/**
	 * id
	 */
	@ApiModelProperty(value = "teacherCourse主键")
	@Column(name = "id")
	private String id;
	/**
	 * 课程_id
	 */
	@ApiModelProperty(value = "课程_id",required = true)
	private String courseId;

	/**
	 * 教师_id
	 */
	@ApiModelProperty(value = "教师_id",required = true)
	private String teacherId;

	/**
	 * 课程名称
	 */
	@ApiModelProperty(value = "课程名称")
	private String courseName;

	/**
	 * 教师名称
	 */
	@ApiModelProperty(value = "教师名称")
	private String teacherName;

	/**
	 * 学年学期
	 */
	@ApiModelProperty(value = "学年学期")
	private String schoolYear;


	public String getId() {
		return id;
	}

	public void setId(String id) {
		this.id = id;
	}

	public String getCourseId() {
		return courseId;
	}

	public void setCourseId(String courseId) {
		this.courseId = courseId;
	}

	public String getTeacherId() {
		return teacherId;
	}

	public void setTeacherId(String teacherId) {
		this.teacherId = teacherId;
	}

	public String getCourseName() {
		return courseName;
	}

	public void setCourseName(String courseName) {
		this.courseName = courseName;
	}

	public String getTeacherName() {
		return teacherName;
	}

	public void setTeacherName(String teacherName) {
		this.teacherName = teacherName;
	}

	public String getSchoolYear() {
		return schoolYear;
	}

	public void setSchoolYear(String schoolYear) {
		this.schoolYear = schoolYear;
	}

	public Integer getIsMedia() {
		return isMedia;
	}

	public void setIsMedia(Integer isMedia) {
		this.isMedia = isMedia;
	}

	public Integer getIsComputer() {
		return isComputer;
	}

	public void setIsComputer(Integer isComputer) {
		this.isComputer = isComputer;
	}


	@ApiModelProperty(value = "是否需要多媒体")
	private Integer isMedia;

	/**
	 * 是否需要机房
	 */
	@ApiModelProperty(value = "是否需要机房")
	private Integer isComputer;

	//endregion

     /* *****************************以下是非模板生成的内容************************************ */

	/**
	 * 课程代码
	 */
	@ApiModelProperty(value = "课程代码")
	private String courseCode;

	/**
	 * 教工号
	 */
	@ApiModelProperty(value = "教工号")
	private String teacherCode;

	public String getMedia() {
		return media;
	}

	public void setMedia(String media) {
		this.media = media;
	}

	public String getComputer() {
		return computer;
	}

	public void setComputer(String computer) {
		this.computer = computer;
	}

	/**
	 * 多媒体(是、否)
	 */
	@ApiModelProperty(value = "多媒体(是、否)")
	private String media;

	/**
	 * 机房(是、否)
	 */
	@ApiModelProperty(value = "机房(是、否)")
	private String computer;

	/**
	 * 备注
	 */
	@ApiModelProperty(value = "备注")
	private String remark;

	@ApiModelProperty(value = "TeacherId的List")
	private List<String> teacherIds;

	@ApiModelProperty(value = "CourseId集和")
	private List<String> courseIds;

	@ApiModelProperty(value = "teacherName集合")
	private List<String> teacherNames;

	@ApiModelProperty(value = "courseName集合")
	private List<String> courseNames;

}
